package com.bd.scm.module.enclosure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bd.scm.domain.models.enclosure.BdEnclosure;

import java.util.List;

/**
 * <p>
 * 附件表 服务类
 * </p>
 *
 * @author Mason
 * @since 2020-01-04
 */
public interface BdEnclosureService extends IService<BdEnclosure> {

    /**
     * 插入附件表.
     *
     * @param list
     */
    void saveEnclosure(List<BdEnclosure> list);

    /**
     * 根据单号查询附件
     * @param orderId
     * @return
     */
    List<BdEnclosure> findEnclosureList(String orderId);
}
